package com.bbm.communitysystem.service;

import com.bbm.communitysystem.domain.News;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bbm.communitysystem.domain.bo.NewsBo;
import com.bbm.communitysystem.domain.dto.NewsDto;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author bbm
 * @since 2025-02-13
 */
@Service
public interface INewsService extends IService<News> {

    NewsDto createNews(NewsBo newsBo);

    NewsDto putNewsImg(NewsBo newsBo);

    NewsDto delNewsImg(NewsBo newsBo);

}
